<?php

/**
 * @author PeoneEr
 * @method sql()
 */
require_once "core/db.php";

class Msettings1 extends DB {

    private $_query;

    public function showAllSettings() {
        /**
         *  Отображает настройки
         */
        DB::getInstance()->openConnectionToGS();
        $this->_query = "SELECT * FROM `personal_settings` ORDER BY `id`";
        return DB::getInstance()->sql($this->_query);
        DB::getInstance()->closeConnection();
        unset($this->_query);
    }

}

?>
